﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="VideoNew.ascx.cs"
	Inherits="Module_Video_Controls_VideoNumView" %>
<%@ Register TagPrefix="avg" Namespace="Avg.Controls" Assembly="SmartPager" %>
<%@ Import Namespace="DemoObject" %>
<%@ Import Namespace="BusinessObjects" %>
<div style="background-color:White;padding:5px;margin-top:15px;">
<div style="border-bottom:1px solid #7E0B0E;margin-bottom:20px;margin-top:15px;padding-bottom:5px;">
	<h3 style="margin:0">
		<a class="title">
			<%="Video mới nhất".ToUpper() %></a>
	</h3>
</div>
<div class="equalsHeight">
	<asp:Repeater runat="server" ID="rpt">
		<ItemTemplate>
			<div style="width: 25%; float: left; text-align: center; padding-bottom: 20px;" class="equalsHeight">
				<a class="title1" href='<%#UrlBuilder.UrlVideoPlayer(((TblVideo)Container.DataItem).TblVideoCategories.TextId,Eval("TextId").ToString()) %>'
					title="<%#Eval("Name") %>">
					<img alt="" src='<%#UrlBuilder.ImageUrl(Eval("ImageUrl").ToString(),120,120)%>' />
				</a>
				<br />
				<a class="title1" href='<%#UrlBuilder.UrlVideoPlayer(((TblVideo)Container.DataItem).TblVideoCategories.TextId,Eval("TextId").ToString()) %>'
					title="<%#Eval("Name") %>">
					<%#Eval("Name") %>
				</a>
			</div>
			<%#(Container.ItemIndex+1)%4==0?"<div style='clear:both'></div>":"" %>
		</ItemTemplate>
	</asp:Repeater>
	<div style="clear: both">
	</div>
</div>

<avg:SmartPager ID="smartPager" runat="server" Visible="false" />
</div>